package day14;

public class test {
    public static void main(String[] args) {
        dog d =new dog("大黑",2);
        frog f =new frog("呱呱",1);
        sheep s=new sheep("小白",5);
        d.eat();
        d.drink();
        f.eat();
        f.drink();
        s.eat();
        s.drink();
    }

}
